package com.zimin.cloud.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zimin.mapper.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 用户基本信息表
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("mine_user_info")
@ApiModel(value = "UserInfo对象", description = "用户基本信息表")
public class UserInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("昵称")
    @TableField("nick")
    private String nick;

    @ApiModelProperty("头像")
    @TableField("avatar")
    private String avatar;

    @ApiModelProperty("签名")
    @TableField("sign")
    private String sign;

    @ApiModelProperty("性别：0男 1女 2未知")
    @TableField("gender")
    private String gender;

    @ApiModelProperty("生日")
    @TableField("birth")
    private String birth;


}
